import SearchDto from "../dtos/search.dto";

//interface.base.repository.ts
export default interface IBaseRepository<V> {
  getList<T extends SearchDto>(dto:T): Promise<V[]>;
  add<E>(entity: E): void;
}